package flex.cc.complain.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import flex.cc.complain.entity.ComplainEntity;
import flex.cc.complain.vo.ComplainVo;

@Mapper
public interface ComplainDao extends BaseMapper<ComplainEntity> {
	
	public IPage<ComplainVo> queryComplainList(@Param("page") IPage<ComplainEntity> page,@Param("map")Map map);
	
	public List<ComplainVo> queryComplainAll(@Param("map")Map map);
	public List<ComplainVo> queryComplainCountByFworder();
	
	public List<ComplainVo> queryComplainDealTimesByTsnumber();
	
	public Map<String,String> queryQuence(String seqname);
	public void updateQuence(String seqname);

	
//	int insert(ComplainEntity entity);
	
	int update(ComplainEntity entity);
	
}
